package com.daybook.service;

import java.util.List;
import java.util.Map;

import com.daybook.pojo.Order;
import com.daybook.pojo.OrderAndBooks;
import com.daybook.util.PageHelp;

public interface OrderService {
	/*********************用户模块****************************/
	//1.添加订单
	public int addNewOrderList(List<Order> orderList,Integer[] sid_list,double payMoney);
	//2用户获取订单列表
	public PageHelp getOrderPageList(Integer pageNow,Integer uid,Integer ostate,Integer pageNum);

/*********************公共模块****************************/
	//1.改变订单状态
	public int changeOrderState(Order order);
	
	
/*********************管理员模块****************************/
public PageHelp getAllOrderList(Map<String, Object> map,Integer pageNow);
	
	

}
